Embedded LaTeX as described in Embedded LaTeX, will be correctly inserted into the LaTeX file. This includes simple macros like ‘\ref{LABEL}’ to create a cross reference to a figure. Furthermore, you can add special code that should only be present in LaTeX export with the following constructs:
#+LaTeX: Literal LaTeX code for export
#+BEGIN_LaTeX
All lines between these markers are exported literally
#+END_LaTeX